<template>
  <view class="container">
    <!-- 特殊参数 -->
    <view class="cd-body">
      <view class="param">
        <b>主题：</b>
        {{ title }}
      </view>
      <view class="param">
        <b>内容：</b>
        {{ msg }}
      </view>
    </view>
  </view>
</template>
      
      <script>
import { getOnejixiaoList } from "../../net/jixiaos";

export default {
  data() {
    return {
      title: "",
      msg: ""
    };
  },
  async onLoad(e) {
    console.log(e);
    this.getReports(e.id);
  },
  methods: {
    async getReports(e) {
      const id = e;
      const res = await getOnejixiaoList(id);
      if (res.code == 0) {
        console.log(res);
        this.msg = res.data.content;
        this.title = res.data.title;
      }
    }
  }
};
</script>
      
      <style>
@import url("../common/detail.css");
</style>
      